/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ipercube.compiler;

import com.ipercube.*;
import com.ipercube.compiler.PivotCompiler;
import com.ipercube.model.ColumnModel;
import com.ipercube.DataSourceModel;
import com.ipercube.model.RowModel;

/**
 *
 * @author tartur
 */
public abstract class AbstractPivotCompiler implements PivotCompiler{

    private ColumnModel colModel;
    private RowModel rowModel;
    private DataSourceModel dataModel;

    protected ColumnModel getColModel() {
        return colModel;
    }

    protected DataSourceModel getDataModel() {
        return dataModel;
    }

    protected RowModel getRowModel() {
        return rowModel;
    }

    public void setColumnModel(ColumnModel colModel) {
        this.colModel = colModel;
    }

    public void setRowModel(RowModel rowModel) {
        this.rowModel = rowModel;
    }

    public void setDataModel(DataSourceModel dataModel) {
        this.dataModel = dataModel;
    }

    public abstract DataMap compile();

}
